home *** CD-ROM | disk | FTP | other *** search
Wrap
Text File | 1992-06-03 | 41.2 KB | 1,181 lines
C.S.M.P. Digest Fri, 17 Apr 92 Volume 1 : Issue 52 Today's Topics: Wild Magic No current port vs. CopyBits? free-ware or Shair-ware Programing Language A/UX irc client crashes on call to malloc() Invisible files Completion routines & A5 pict -> macbinary resource fork on unix Official Chocolate of Mac Programming File Labels Is there X11, NFS, TCP for the MacOS? The Comp.Sys.Mac.Programmer Digest is moderated by Michael A. Kelly. These digests are available (by using FTP, account anonymous, your email address as password) in the pub/mac/csmp-digest directory on ftp.cs.uoregon. edu. This is also the home of the comp.sys.mac.programmer Frequently Asked Questions list. The last several issues of the digest are available from sumex-aim.stanford.edu as well. These digests are also available via email. Just send a note saying that you want to be on the digest mailing list to mkelly@cs.uoregon.edu, and you will automatically receive each new digest as it is created. The articles in these digests are taken directly from comp.sys.mac.programmer. They are not edited; all articles included in this digest are in their original posted form. The only articles that are -not- included in these digests are those which didn't receive any replies (except those that give information rather than ask a question). All replies to each article are concatenated onto the original article in the order in which they were received. Article threads are not added to the digests until the last article added to the thread is at least one month old (this is to ensure that the thread is dead before adding it to the digests). Send administrative mail to mkelly@cs.uoregon.edu. ------------------------------------------------------- From: j9z@ornl.gov (John Martellaro) Subject: Wild Magic Date: 6 Mar 92 20:02:57 GMT Organization: Martin Marietta Energy Systems I just downloaded Wild Magic from ftp.apple.com, but can't get it to operate. If the authors see this, I need a little help. I did the obvious things. Made sure Wild Magic control panel was on. Disabled all inits except for EM manager, Quicktime, and Wild Magic. (Called Apple Technical Information Source. They could not help except to suggest that After Dark is a known conflict.) Using Mac IIci, System 7.0.1 (tuned), virtual on. Tried to Copy a movie from the Simple Player and Paste into Word 4.0D. The first frame pastes in. When I try to trigger the movie by clicking the filmstrip icon and start it with the control bar, the index just jumps to the right and the first frame stays put. No action. Also happens with Word Perfect 2.0.3. Any suggestions? John Martellaro Martin Marietta Energy Systems Oak Ridge National Laboratory 615-576-6840 +++++++++++++++++++++++++++ From: russotto@eng.umd.edu (Matthew T. Russotto) Date: Sun, 15 Mar 92 19:28:33 GMT Organization: College of Engineering, University of Maryland, College Park In article <1992Mar6.200257.1892@ornl.gov> j9z@ornl.gov (John Martellaro) writes: >Using Mac IIci, System 7.0.1 (tuned), virtual on. Tried >to Copy a movie from the Simple Player and Paste into Word 4.0D. >The first frame pastes in. When I try to trigger the >movie by clicking the filmstrip icon and start it with >the control bar, the index just jumps to the right and >the first frame stays put. No action. Also happens with >Word Perfect 2.0.3. Any suggestions? You didn't "select all" before copying, did you? You copied only one frame of the movie! - -- Matthew T. Russotto russotto@eng.umd.edu russotto@wam.umd.edu Some news readers expect "Disclaimer:" here. Just say NO to police searches and seizures. Make them use force. (not responsible for bodily harm resulting from following above advice) --------------------------- From: gt0657c@prism.gatech.EDU (geoff george) Subject: No current port vs. CopyBits? Date: 9 Mar 92 10:02:58 GMT Organization: Georgia Institute of Technology If I leave the current port set to a no-longer-extant GrafPort, can I have problems even if I don't do any drawing before setting it to a good GrafPort? How about saving and restoring a bad port, bracketed around drawing into a good port? Problems like trashing memory? The current port can be left not set to any port by closing the current GrafPort, apparently. Probably other ways too. I've spent two weekends getting more intimate than I really wanted to be with MacsBug, tracking down a problem which didn't occur under the Think C 5.0.2 debugger. By making sure that the current port is always a good one I seem to have removed the symptoms, but I'm not confident that the problem is fixed since I'm not certain exactly what the problem is. The symptoms were CopyBits not copying anything, from an offscreen BitMap to the front window. Neither was the current port; the current port was not any open port. (The MacsBug GrafPort template said that its clipRgn and visRgn were not valid, plus it had nonsense values in other fields, e.g. an empty but nonzero portBits.bounds.) I thought CopyBits wouldn't care about the current port, as long as its portBits wasn't the destination BitMap. The source BitMap's baseAddr, rowBytes and bounds were good; the baseAddr pointed to a correctly-sized chunk of memory which had nonzero bits in it; the source rectangle was what I wanted: the entire bounds. The destination window was good; other stuff was drawn in it; the destination rect was inside the portRect, and the same dimensions as the source rect; the portRect, visRgn, clipRgn and bounds were good. I used NIL for the maskRgn. I checked all these values with MacsBug templates, immediately before the _CopyBits trap instruction, using the pointers that had been pushed onto the stack. Nothing got copied. The destination rect stayed all white. Is there some other factor affecting the behavior of CopyBits? It's possible I'd trashed some memory earlier by having no current port. All this on a Mac II, System 7 + System 7 Tuner, no color ports or windows in my program, monitor set to black-and-white. More detail on request. I'm bamboozled. Can anyone suggest something I've overlooked, or don't know? If not I'll have to assume a loose pointer somewhere. Ugh. Any help muchly appreciated. geoff - -- geoff george geoff@cc.gatech.edu (my name) or gt0657c@prism.gatech.edu (personal warmth from GaTech OCS) "Ordinary f---ing people - I hate 'em. Ordinary person spends his life avoiding tense situations; repo man spends his life getting INTO tense situations." +++++++++++++++++++++++++++ From: jimc@isc-br.ISC-BR.COM (Jim Cathey) Date: 11 Mar 92 21:09:45 GMT Organization: ISC-Bunker Ramo, An Olivetti Company In article <51462@hydra.gatech.EDU> gt0657c@prism.gatech.EDU (geoff george) writes: >The symptoms were CopyBits not copying anything, from an offscreen >BitMap to the front window. Neither was the current port; the current >port was not any open port. (The MacsBug GrafPort template said that its >clipRgn and visRgn were not valid, plus it had nonsense values in other >fields, e.g. an empty but nonzero portBits.bounds.) I thought CopyBits >wouldn't care about the current port, as long as its portBits wasn't the >destination BitMap. I had much the same problem, just today. I have a CopyBits in a loop that mashes font records, in a program that until this week was monochrome (and always worked just fine, even on color systems). Once I started issuing NewCWindow calls, though, sometimes the created font would get screwed up. Even though the CopyBits was between two monochrome offscreen bitmaps, apparently being in a color environment (6.07 IIci) is enough to screw up CopyBits. I ended up having to force the current port's foreground and background colors (assuming there _is_ a current port) to black and white (with save and restore code too). Once I did this it started working again. To me, this seems like a bug. Copybits should have recognized this as a monochrome-only situation. Certainly it shouldn't have been making port-based decisions because this piece of code is entirely portless, no drawing is being done at all. Digression: This program emulates a foreign windowing system (ours, in fact) by translating all calls to Mac analogs. Its one 'sin' is that it has to create FONT resources on the fly, so that the native Mac text drawing can be used, and so that font changes in the foreign system will be automatically propogated. It finds unused font numbers (in the IM-I scheme) and AddResource's these to its preferences file. These fonts are deleted from this resource file at program exit. While IM says you should never put fonts into a document's resource fork, I don't really have any choice. So far it seems to work just fine, largely because this program does not (and never will) print. I am hoping that the problems alluded to by IM have either to do with font numbering conflicts (since my numbers are dynamically chosen I will be safe), or with caching-related problems that can occur if the resource file were to be closed (mine isn't). Does anyone have any comments? +----------------+ ! II CCCCCC ! Jim Cathey ! II SSSSCC ! ISC-Bunker Ramo ! II CC ! TAF-C8; Spokane, WA 99220 ! IISSSS CC ! UUCP: uunet!isc-br!jimc (jimc@isc-br.isc-br.com) ! II CCCCCC ! (509) 927-5757 +----------------+ "PC's --- the junk bonds of the computer industry" +++++++++++++++++++++++++++ From: russotto@eng.umd.edu (Matthew T. Russotto) Date: Sun, 15 Mar 92 19:42:25 GMT Organization: College of Engineering, University of Maryland, College Park In article <51462@hydra.gatech.EDU> gt0657c@prism.gatech.EDU (geoff george) writes: > >The symptoms were CopyBits not copying anything, from an offscreen >BitMap to the front window. Neither was the current port; the current >port was not any open port. (The MacsBug GrafPort template said that its >clipRgn and visRgn were not valid, plus it had nonsense values in other >fields, e.g. an empty but nonzero portBits.bounds.) I thought CopyBits >wouldn't care about the current port, as long as its portBits wasn't the >destination BitMap. CopyBits uses the foreground and background colors of the current port. Probably uses other stuff too. - -- Matthew T. Russotto russotto@eng.umd.edu russotto@wam.umd.edu Some news readers expect "Disclaimer:" here. Just say NO to police searches and seizures. Make them use force. (not responsible for bodily harm resulting from following above advice) --------------------------- From: florian@convex.csd.uwm.edu (Chris Florian) Subject: free-ware or Shair-ware Programing Language Organization: UW-Milwaukee: Computing Services Division Date: Fri, 13 Mar 1992 17:53:26 GMT I am looking for a free ware or shair ware mac programming language. I don't care if it's basic, I want to do some programming. Dose anyonw know of any? +++++++++++++++++++++++++++ From: e-sink@uiuc.edu (Eric W. Sink) Organization: University of Illinois at Urbana Date: Fri, 13 Mar 1992 20:41:15 GMT In <1992Mar13.175326.4073@uwm.edu> florian@convex.csd.uwm.edu (Chris Florian) writes: > I am looking for a free ware or shair ware mac programming > language. I don't care if it's basic, I want to do some > programming. > Dose anyonw know of any? Certainly. There are lots... I'm typing the following list off the top of my head. Please add or correct as needed. Yerk object oriented derivative of Forth, used to be called Neon MacOberon successor to Modula 2, requires a Mac II GNU CC GNU Project C compiler, requires MPW Pocket Forth fast Forth implementation Sesame C shareware subset-of-C compiler Harvest C freely distributable C compiler, not complete yet Gambit scheme derivative? XLisp Lisp, runs on many platforms M2 I know I saw a Modula 2 system somewhere... Icon "" Perl Larry Wall's replacement for most of UNIX Elan I have no idea what this is J APL derivative Pico What is pico ? Pixiescheme Probably has something to do with scheme Quinta Yet another oo derivative of Forth, doesn't work Simlua I've seen this somewhere - requires MPW I peeked at a couple archive sites for a few of those... - -- Eric W. Sink, Spatial Analysis and Systems Team USACERL, P.O. Box 9005, Champaign, IL 61826-9005 1-800-USA-CERL x449, e-sink@uiuc.edu +++++++++++++++++++++++++++ From: tlt38517@uxa.cso.uiuc.edu (Terry Thiel) Organization: University of Illinois at Urbana Date: Sun, 15 Mar 1992 16:16:02 GMT florian@convex.csd.uwm.edu (Chris Florian) writes: > I am looking for a free ware or shair ware mac programming > language. I don't care if it's basic, I want to do some > programming. > Dose anyonw know of any? Try Harvest C by Eric Sink. Its on most of the major FTP sites. - -Terry +++++++++++++++++++++++++++ From: d88-jwa@byse.nada.kth.se (Jon W{tte) Date: 15 Mar 92 19:12:41 GMT Organization: Royal Institute of Technology, Stockholm, Sweden .cso.uiuc.edu> e-sink@uiuc.edu (Eric W. Sink) writes: Pocket Forth fast Forth implementation Unfortunately it crashes on large displays, color displays and/or 68040 cache machines. The author has not responded to my query... Simlua I've seen this somewhere - requires MPW Imagine ALGOL with OO and sort-of a process concept. Simula has been around for > 20 years, and is "OO," only noone knew what that was back then. There's even an application framework. The Simula compiler for MPW is probably available from Lund University in Sweden, where I believe it was developed. Check with archie. - -- This signature is placed into the Public Domain by Jon W{tte (h+@nada.kth.se) - The worlds only romantic cynic - --------------------------- From: billp@ncsa.uiuc.edu (Bill Pottenger) Subject: A/UX irc client crashes on call to malloc() Organization: Nat'l Ctr for Supercomp App (NCSA) @ University of Illinois Date: Sat, 14 Mar 1992 21:30:53 GMT Hello. Mac is not my usual environment, so please bear with me. We're running an irc client on a MacIIfx under A/UX 2.0.1, and after a key is added to the crypt for a channel, on the first attempt to *receive* an encrypted message, the client crashes with the following error: Malloc failed: No child processes Irc Aborted! (Anyone care to interpret this... is it simply an out of memory error?) Sending encrypted messages is no problem, strangely enough. Not knowing anything about the mac (under A/UX) I wonder if there are hard limits on memory that can be set per process and/or per process tree? I know this is possible under VMS. On the other hand, maybe the Mac really ran out of memory... but in that case it should have crashed on send too..hmmm. Here's some code (the key seems to be in the functions below, which is where the only malloc() like calls seem to appear under the given conditions): /* * crypt.c: handles some encryption of messages stuff. * * Written By Michael Sandrof * * Copyright(c) 1990 * * See the COPYRIGHT file, or do a HELP IRCII COPYRIGHT */ #define CRYPT_BUFFER_SIZE (IRCD_BUFFER_SIZE - 50) /* Make this less than * the trasmittable static char *do_crypt(str, key, flag) char *str, *key; int flag; { int in[2], out[2], c; char buffer[CRYPT_BUFFER_SIZE + 1]; char *ptr = null(char *), *encrypt_program; if (encrypt_program = get_string_var(ENCRYPT_PROGRAM_VAR)) { in[0] = in[1] = -1; out[0] = out[1] = -1; if (access(encrypt_program, X_OK)) { put_it("*** Unable to execute encryption program: %s", encrypt_program); return (null(char *)); } if (!flag) { c = strlen(str); ptr = ctcp_unquote_it(str, &c); } else malloc_strcpy(&ptr, str); if (pipe(in) || pipe(out)) { put_it("*** Unable to start encryption process: %s", sys_errlist[errno]); if (in[0] != -1) { close(in[0]); close(in[1]); } if (out[0] != -1) { close(out[0]); close(out[1]); } } switch (fork()) { case -1: put_it("*** Unable to start encryption process: %s", sys_errlist[errno]); return (null(char *)); case 0: signal(SIGINT, SIG_IGN); dup2(out[1], 1); dup2(in[0], 0); close(out[0]); close(in[1]); setuid(getuid()); setgid(getgid()); execl(encrypt_program, encrypt_program, key, NULL); exit(0); default: close(out[1]); close(in[0]); write(in[1], ptr, strlen(ptr)); close(in[1]); c = read(out[0], buffer, CRYPT_BUFFER_SIZE); buffer[c] = null(char); close(out[0]); break; } new_free(&ptr); if (flag) ptr = ctcp_quote_it(buffer, strlen(buffer)); else malloc_strcpy(&ptr, buffer); } else { c = strlen(str); if (flag) { encrypt(str, c, key); ptr = ctcp_quote_it(str, c); } else { ptr = ctcp_unquote_it(str, &c); decrypt(ptr, c, key); } } c return (ptr); } /* * crypt_msg: Executes the encryption program on the given string with the * given key. If flag is true, the string is encrypted and the returned * string is ready to be sent over irc. If flag is false, the string is * decrypted and the returned string should be readable */ char *crypt_msg(str, key, flag) char *str, *key; int flag; { static char buffer[CRYPT_BUFFER_SIZE + 1]; char thing[6]; char *ptr, *rest; int on = 1; if (flag) { sprintf(thing, "%cSED ", CTCP_DELIM_CHAR); *buffer = null(char); while (rest = index(str, '\005')) { *(rest++) = null(char); if (on && *str && (ptr = do_crypt(str, key, flag))) { strmcat(buffer, thing, CRYPT_BUFFER_SIZE); strmcat(buffer, ptr, CRYPT_BUFFER_SIZE); strmcat(buffer, CTCP_DELIM_STR, CRYPT_BUFFER_SIZE); new_free(&ptr); } else strmcat(buffer, str, CRYPT_BUFFER_SIZE); on = !on; str = rest; } if (on && (ptr = do_crypt(str, key, flag))) { strmcat(buffer, thing, CRYPT_BUFFER_SIZE); strmcat(buffer, ptr, CRYPT_BUFFER_SIZE); strmcat(buffer, CTCP_DELIM_STR, CRYPT_BUFFER_SIZE); new_free(&ptr); } else strmcat(buffer, str, CRYPT_BUFFER_SIZE); } else { if (ptr = do_crypt(str, key, flag)) { strmcpy(buffer, ptr, CRYPT_BUFFER_SIZE); new_free(&ptr); } else strmcat(buffer, str, CRYPT_BUFFER_SIZE); } return (buffer); } Cheers, and thanks for any who are able to offer help! Bill ps. I'll be doing some debugging as soon as I have the complete source, and will hopefully pin down exactly where the crash occurs. For any who are interested, please send me your email address and I'll follow up on it with you. Thank you! +++++++++++++++++++++++++++ From: st902675@pip.cc.brandeis.edu (FUZZBALL) Organization: Brandeis University Date: Sun, 15 Mar 1992 20:34:16 GMT In the post by billp@ncsa.uiuc.edu (Bill Pottenger), he writes: >We're running an irc client on a MacIIfx under A/UX 2.0.1, and after a key >is added to the crypt for a channel, on the first attempt to *receive* an >encrypted message, the client crashes with the following error: >Malloc failed: No child processes >Irc Aborted! The message "Malloc failed:" means that within the system that this was run on, the C command malloc was either used improperly, or not enough memory was allocated. The assumption that it was out of memory is partially correct, as malloc means "memory allocation". In order to correct this, enter into the program itself, find the malloc command and increase it to a number substantially larger. The program required to input into this program is probably C++. Just find a Computer Science major who 1)knows C code, and 2) has this program or a variant. Have him debug it for you. If you can't find a CoSi major, find a CoSi prof to debug it for you. I suspect that this is not the only error in your IRC program. - - Thomas - ----------------------------------------------------------------------------- Thomas Gray aka FUZZBALL aka ST902675@pip.cc.brandeis.edu - ----------------------------------------------------------------------------- --------------------------- From: maxn@pragmatix.cs.uoregon.edu (Max Napolitano) Subject: Invisible files Organization: University of Oregon Computer and Information Sciences Dept. Date: Sun, 15 Mar 1992 08:59:51 GMT +++++++++++++++++++++++++++ From: stanger@otago.ac.nz (Nigel Stanger) Date: 16 Mar 92 10:19:33 +1300 Organization: University of Otago, Dunedin, New Zealand In article <1992Mar15.085951.11339@cs.uoregon.edu>, maxn@pragmatix.cs.uoregon.edu (Max Napolitano) writes: > Hey wow, an invisible posting!! :) :) - -- See ya Nigel. - ---------------------------------------------------------------------- Nigel Stanger, Internet: stanger@otago.ac.nz University of Otago, Phone: +64 3 479-8179 Dunedin, NEW ZEALAND. Fax: +64 3 479-8311 Splunge. --------------------------- From: rps32513@uxa.cso.uiuc.edu (Ronald P. Smith) Subject: Completion routines & A5 Organization: University of Illinois at Urbana Date: Sun, 15 Mar 1992 20:59:48 GMT hi, I'm trying to do a Asyncronous call to PBRead. I'm having problems with understanding how to restore the A5 in my completion funtion though. I understand SetCurrentA5 and all that, but what I'm having problems with is how I can place the A5 somewhere in my ParamBlock so that my completion function can get it. I've read the TNs on this, and all I could find was the fact that I could place the A5 in the ParamBlock because A0 is guaranteed to point to the paramblock.. What I'm wondering is, where? I don't see any space for user fields in the ParamBlock, where should I stick the A5? any help would be greatly appreciated. Ron Smith (rps32513@uxa.cso.uiuc.edu) +++++++++++++++++++++++++++ From: d88-jwa@hemul.nada.kth.se (Jon W{tte) Date: 16 Mar 92 09:29:19 GMT Organization: Royal Institute of Technology, Stockholm, Sweden .cso.uiuc.edu> rps32513@uxa.cso.uiuc.edu (Ronald P. Smith) writes: I understand SetCurrentA5 and all that, but what I'm having problems with is how I can place the A5 somewhere in my ParamBlock so that my completion function can get it. I've read the TNs on this, and all I could find was the fact that I could place the A5 in the ParamBlock because A0 is guaranteed to point to the paramblock.. What I'm wondering is, where? I don't see any space for user fields in the ParamBlock, where should I stick the A5? SetCurrentA5 returns the previous value of A5, and moves whatever is stored in "CurrentA5" into A5. SetA5 returns the previous value of A5, and moves its argument into A5. About the blocks, let's say you need a CInfoPBRec. Then do this: typedef struct MyCInfoPBRec { CInfoPBRec theBlock ; unsigned long A5 ; } MyCInfoPBRec ; Then set up theBlock, stuff A5 into A5 and pass the address of this struct. You now know that A0 will point to this struct, with the paramBlock first, and A5 afterwards, upon entry to your completion routine. Simple, isn't it ? - -- This signature is placed into the Public Domain by Jon W{tte (h+@nada.kth.se) - The worlds only romantic cynic - --------------------------- From: jeffe@eniac.seas.upenn.edu (george) Subject: pict -> macbinary resource fork on unix Date: 3 Mar 92 18:37:23 GMT Organization: University of Pennsylvania, Mechanical Engineering I am generating pict representations of postscript files on my unix box, and I need to place the pict image into the resource fork of the postscript 'data' file to create an 'eps' or 'pict with embedded postscript' file. I can do this using resedit, but i am seeking a faster and idiot-proof method. Preferably we would write a complete macbinary file on the unix machine. By inspection it appears that the pict data needs to be wraped in a short header/trailer which contains at least the pict id ( and obviously a good bit more ) Has anyone done anything similar? Perhaps there is a collection of c routines for doing some basic macbinary work? ( well It doesn't hurt to ask... ) second choice would be a single mac application that would do the job with a minimum of fuss. Currently we need one application to open the pict, then copy/paste it into the resource fork with resedit and set the resource id and file type. This is a bit to involved for my users. I suppose here I am asking if such a utility already exists because my macintosh programing experience is nil. many thanks in advance. - -- - -george george@mech.seas.upenn.edu +++++++++++++++++++++++++++ From: krk@itl.itd.umich.edu (Kenneth Knight) Date: 6 Mar 92 22:40:44 GMT Organization: Instructional Technology Laboratory, University of Michigan In article <68378@netnews.upenn.edu> george@mech.seas.upenn.edu writes: >Preferably we would write a complete macbinary file on the >unix machine. By inspection it appears that the >pict data needs to be wraped in a short header/trailer which >contains at least the pict id ( and obviously a good bit more ) >Has anyone done anything similar? Perhaps there is a collection >of c routines for doing some basic macbinary work? ( well It >doesn't hurt to ask... ) Well, let me see what I can dig out of the files I have at hand. The following struct defines a MacBinary header: typedef struct { /* MacBinary header - prepended to all MacBinary format files */ byte zero1; unsigned char filename[64]; /* filename */ unsigned char type[4]; /* file type e.g. TEXT, PICT */ unsigned char creator[4]; /* file creator e.g. tttx, MACA, 'MPS ' */ byte flags; /* finder flags */ byte zero2; byte location[6]; /* location in folder - I think */ byte protected; /* locked? */ byte zero3; byte dflen[4]; /* data fork length */ byte rflen[4]; /* resource fork length */ byte cdate[4]; /* creation date */ byte mdate[4]; /* last modified date */ byte filler[29]; } MBHDR, *MBHDRPTR, **MBHDRHNDL; As to writing out the PICT data you should be able to simply do FSWrites on each field of the Pict. Just make sure that you write out the proper stuff (i.e. the actual pict data not the pointer to it). If you just want to write a MacDraw-type file as I recall you can simply write crud for the first 512 bytes and then write out the picture data. Hope this helps.... --------------------------- Organization: Penn State University Date: Wednesday, 4 Mar 1992 07:07:22 EST From: Christopher Tate <CXT105@psuvm.psu.edu> Subject: Official Chocolate of Mac Programming In article <1992Mar4.045748.3195@visix.com>, amanda@visix.com (Amanda Walker) says: > >Before noon: Coke Classic >After noon: Double Espresso >After dinner: Double Cappucino >For variety, to recharge the taste buds: Cranberry Juice Cocktail > >All of the above supplemented with Belgian dark chocolate, of course. If you can get it (Williams-Sonoma is the only place I know of), there's a *wonderful* French dark chocolate that has the highest cocoa content on earth. But it is *not* unsweetened; this is a for-real eating chocolate, and black as pitch: Valhrona Carre' de Guanaca 1502 Comes in little tins of individually-wrapped squares, or by the kilo. (I once preferred Tobler Extra Bittersweet, but Valhrona won me over....) - ------- Christopher Tate | Cryptogram #4: cxt105@psuvm.psu.edu | CXT105@PSUVM.BITNET | QGIF GX IBQQ PI TPTFJHX, SBH - ---------------------------------| G'AV JFAFO OFUQQM ZUL PJF. Send me the answer; I love mail! | - ------------------------- From: sk4i+@andrew.cmu.edu (Samuel John Kass) Date: 4 Mar 92 15:36:09 GMT Organization: Freshman, MCS general, Carnegie Mellon, Pittsburgh, PA On 04-Mar-92 in Official Chocolate of Mac P.. user Christopher Tate@psuvm.p writes: >In article <1992Mar4.045748.3195@visix.com>, amanda@visix.com (Amanda Walker) >says: >> >>Before noon: Coke Classic >>After noon: Double Espresso >>After dinner: Double Cappucino >>For variety, to recharge the taste buds: Cranberry Juice Cocktail >> >>All of the above supplemented with Belgian dark chocolate, of course. > >If you can get it (Williams-Sonoma is the only place I know of), there's >a *wonderful* French dark chocolate that has the highest cocoa content >on earth. But it is *not* unsweetened; this is a for-real eating >chocolate, and black as pitch: > > Valhrona Carre' de Guanaca 1502 > >Comes in little tins of individually-wrapped squares, or by the kilo. > >(I once preferred Tobler Extra Bittersweet, but Valhrona won me over....) Hmm... I, myself, get by on M+M's. They're plentiful, and of course, if you don't like things melting in your hands... By the way, for the drink, I have to say that I prefer water, as well. --Sam - ------------------------- From: mas@boulder.colorado.edu (Mark A. Steele) Date: 4 Mar 92 16:54:48 GMT Organization: National Geophyical Data Center, Boulder, Colorado In article <4dhCtdG00iV102NoQW@andrew.cmu.edu> sk4i+@andrew.cmu.edu (Samuel John Kass) writes: >On 04-Mar-92 in Official Chocolate of Mac P.. >user Christopher Tate@psuvm.p writes: > >Hmm... I, myself, get by on M+M's. They're plentiful, and of course, if >you don't like things melting in your hands... And you can sort them by color during long MPW builds (is there a thing as a _short_ MPW build. - -Mark Steele - ------------------------- From: dwade@jarthur.claremont.edu (Doug Wade) Organization: Harvey Mudd College, Claremont, CA 91711 Date: Wed, 4 Mar 1992 18:36:06 GMT In article <92064.070722CXT105@psuvm.psu.edu> Christopher Tate <CXT105@psuvm.psu.edu> writes: %In article <1992Mar4.045748.3195@visix.com>, amanda@visix.com (Amanda Walker) %says: %> %>Before noon: Coke Classic %>After noon: Double Espresso %>After dinner: Double Cappucino %>For variety, to recharge the taste buds: Cranberry Juice Cocktail %> %>All of the above supplemented with Belgian dark chocolate, of course. % %If you can get it (Williams-Sonoma is the only place I know of), there's %a *wonderful* French dark chocolate that has the highest cocoa content %on earth. But it is *not* unsweetened; this is a for-real eating %chocolate, and black as pitch: % % Valhrona Carre' de Guanaca 1502 % %Comes in little tins of individually-wrapped squares, or by the kilo. % %(I once preferred Tobler Extra Bittersweet, but Valhrona won me over....) % [sig removed for brevity] That is 70% chocolate solids. 3 1/8 oz for $10 at W-S. But out of the country you can get at least 75%. If anybody's near a Trader Joe's (I don't know how widespread the chain is) they have a half kilo of good 61% for $2.39 US. It's not the same, but still pretty darn good and relatively cheap... - ------------------------- From: norman@a.cs.okstate.edu (Norman Graham) Date: 4 Mar 92 17:50:16 GMT Organization: Oklahoma State University In article <92064.070722CXT105@psuvm.psu.edu> Christopher Tate <CXT105@psuvm.psu.edu> writes: > >If you can get it (Williams-Sonoma is the only place I know of), there's >a *wonderful* French dark chocolate that has the highest cocoa content >on earth. But it is *not* unsweetened; this is a for-real eating >chocolate, and black as pitch: > > Valhrona Carre' de Guanaca 1502 > >Comes in little tins of individually-wrapped squares, or by the kilo. Williams-Sonoma also sells some dark chocolate covered espresso beans that I'm fond of. Ob. Who will be writing the software for Apple's new PDA? - -- Norman Graham <norman@a.cs.okstate.edu> Standard Disclaimer Applies {cbosgd,rutgers}!okstate!norman - ------------------------- From: ross@bnr.ca (Ross Brown) Date: 4 Mar 92 22:14:12 GMT Organization: Bell-Northern Research In article <4dhCtdG00iV102NoQW@andrew.cmu.edu> sk4i+@andrew.cmu.edu (Samuel John Kass) writes: >Hmm... I, myself, get by on M+M's. They're plentiful, and of course, if >you don't like things melting in your hands... "The milk chocolate melts in your maw, not in your paw." ...as it were. Ross Brown Bell-Northern Research Ltd. Ottawa, Ontario, Canada ross@bnr.ca Opinions expressed do not necessarily represent those of BNR. - ------------------------- From: jmale@puce.inria.fr (Jean-Michel Male) Date: 5 Mar 92 13:14:19 GMT Organization: INRIA Sophia Antipolis In article <92064.070722CXT105@psuvm.psu.edu>, CXT105@psuvm.psu.edu (Christopher Tate) writes: C.Tate|> In article <1992Mar4.045748.3195@visix.com>, amanda@visix.com (Amanda Walker) C.Tate|> says: C.Tate|> If you can get it (Williams-Sonoma is the only place I know of), there's C.Tate|> a *wonderful* French dark chocolate that has the highest cocoa content C.Tate|> on earth. But it is *not* unsweetened; this is a for-real eating C.Tate|> chocolate, and black as pitch: C.Tate|> Valhrona Carre' de Guanaca 1502 C.Tate|> Comes in little tins of individually-wrapped squares, or by the kilo. I DO agree at all. This is a proof that even in the country of "french dressing", there exist that can appreciate very good chocolate. - -- Jean-Michel MALE' \\\\\ - - INRIA, Projet SINUS, < ) Centre de Sophia-Antipolis \/ 06565 Valbonne (FRANCE) Email: jmale@mirsa.inria.fr (Mort aux vaches !) - ------------------------- From: 8888cc19@uhdvx3.dt.uh.edu (Good Witch of the Silicon Forest) Organization: University of Houston-Downtown Date: Thu, 5 Mar 1992 21:34:00 GMT In article <4dhCtdG00iV102NoQW@andrew.cmu.edu>, sk4i+@andrew.cmu.edu (Samuel John Kass) writes... >On 04-Mar-92 in Official Chocolate of Mac P.. >user Christopher Tate@psuvm.p writes: >>In article <1992Mar4.045748.3195@visix.com>, amanda@visix.com (Amanda Walker) >>says: >>> >>>Before noon: Coke Classic >>>After noon: Double Espresso >>>After dinner: Double Cappucino >>>For variety, to recharge the taste buds: Cranberry Juice Cocktail >>> >>>All of the above supplemented with Belgian dark chocolate, of course. >> >>If you can get it (Williams-Sonoma is the only place I know of), there's >>a *wonderful* French dark chocolate that has the highest cocoa content >>on earth. But it is *not* unsweetened; this is a for-real eating >>chocolate, and black as pitch: >> >> Valhrona Carre' de Guanaca 1502 >> >>Comes in little tins of individually-wrapped squares, or by the kilo. >> >>(I once preferred Tobler Extra Bittersweet, but Valhrona won me over....) > > >Hmm... I, myself, get by on M+M's. They're plentiful, and of course, if >you don't like things melting in your hands... > Definately..or on your keyboard...but only the ones with peanuts.. Tina Marie 8888cc19@dt3.dt.uh.edu - ------------------------- From: amanda@visix.com (Amanda Walker) Organization: Visix Software Inc., Reston, VA Date: Thu, 5 Mar 92 21:12:30 GMT Christopher Tate <CXT105@psuvm.psu.edu> writes: > Comes in little tins of individually-wrapped squares, or by the kilo. Valhrona is good stuff, but my favorite is still Cote D'Or from Belgium. Amanda Walker amanda@visix.com Visix Software Inc. ...!uupsi!visix.com!amanda - -- "The problem with X is that it's overadequate" --Dennis Ritchie - ------------------------- From: gourdol@imag.imag.fr (Arno Gourdol) Date: 6 Mar 92 14:03:52 GMT Organization: IMAG Institute, University of Grenoble, France The chocolate of choice for real chocolate lovers is Valrhona (note the spelling, this from the Rhone river) where the maker is located (and not the hrone river) :-) (I like nit-picking). Arno, - -- Arno Gourdol. <Gourdol@imag.fr> Minds, like parachutes, only function when open. +++++++++++++++++++++++++++ From: ksand@apple.com (Kent Sandvik) Date: 8 Mar 92 01:45:13 GMT Organization: MacDTS Mongols ..Marabou, Marabou... I guess I have to call my wife's cousins in Sweden and ask them to send an emergency package ASAP. Cheers, Kent - -- Kent Sandvik - Apple DTS - Dynamic Language Evangelist ksand@apple.com All opinions expressed are my own, and not related to any company or organization. Happy, happy, joy, joy! +++++++++++++++++++++++++++ From: jmunkki@hila.hut.fi (Juri Munkki) Date: 11 Mar 92 20:54:20 GMT Organization: Helsinki University of Technology, Finland In article <21229@goofy.Apple.COM> ksand@apple.com (Kent Sandvik) writes: >...Marabou, Marabou... I guess I have to call my wife's cousins in Sweden >and ask them to send an emergency package ASAP. Dangerously addictive substance... Which flavor do you prefer? I like the milk chocolate. It seems to me that most others here prefer really dark chocolates. Marabou chocolates tend to be the mildest that I have ever tasted. ____________________________________________________________________________ / Juri Munkki / Helsinki University of Technology / Wind / Project / / jmunkki@hut.fi / Computing Center Macintosh Support / Surf / Arashi / ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --------------------------- From: sr0o+@andrew.cmu.edu (Steven Ritter) Subject: File Labels Date: 5 Mar 92 15:30:30 GMT Organization: Doctoral student, Psychology, Carnegie Mellon, Pittsburgh, PA How can you find a file's label (the things nobody uses in System 7 Finder)? I couldn't find anything about this in IM VI. Steve - ------------------------- From: ross@bnr.ca (Ross Brown) Date: 5 Mar 92 21:16:01 GMT Organization: Bell-Northern Research In article <gdhXuKW00WBOM2F8Yo@andrew.cmu.edu> sr0o+@andrew.cmu.edu (Steven Ritter) writes: >How can you find a file's label (the things nobody uses in System 7 >Finder)? I couldn't find anything about this in IM VI. The label ID is in bits 1 to 3 of the fdFlags field in the FInfo structure. See Technical Note 306. The colors associated with the labels are in the System file in 'RGB ' resources numbered -16392, ..., -16385. The names are in 'lstr' resources with the same numbers. Note that the Finder's Labels menu shows label #7 first, and label #1 last. Label value 0 represents "no label". Ross Brown Bell-Northern Research Ltd. Ottawa, Ontario, Canada ross@bnr.ca Opinions expressed do not necessarily represent those of BNR. +++++++++++++++++++++++++++ From: leonardr@ccs.itd.umich.edu Organization: Campus Computing Sites, University of Michigan-Ann Arbor Date: Sun, 8 Mar 92 20:38:44 GMT In article <gdhXuKW00WBOM2F8Yo@andrew.cmu.edu> sr0o+@andrew.cmu.edu (Steven Ritter) writes: >How can you find a file's label (the things nobody uses in System 7 >Finder)? I couldn't find anything about this in IM VI. > Well the information (the index (0-7) of the label) is stored in the top 3 bits of the FinderFlags word which you can get with standard File Manager calls. However that only gives you a number - not a name or a color! That information is only obtainable via undocumented resources or undocumented toolbox calls. - -- - ----------------------------------------------------------------------- Leonard Rosenthol Internet: leonardr@ccs.itd.umich.edu Director of Advanced Technology AppleLink: MACgician Aladdin Systems, inc. GEnie: MACgician --------------------------- From: denisb@leland.stanford.edu (Denis Bohm) Subject: Is there X11, NFS, TCP for the MacOS? Organization: DSG, Stanford University Date: Thu, 5 Mar 92 16:55:57 GMT I would like to port a C++ application to the Mac with the least amount of work to get it up and running. The application uses interviews which uses X11R4, and our own broadcast message server which uses INET domain sockets. So I am looking for X11R4 for the mac with include files that can be used from C++ so that I can build InterViews. And some communication software with unix like socket includes. Does anyone know of any products like these (or anything similar)? - -- Denis Bohm (denis@redwood.com -or- denisb@leland.stanford.edu) - ------------------------- From: mlanett@void.ncsa.uiuc.edu (Mark Lanett) Date: 5 Mar 92 19:17:51 GMT Organization: University of Illinois at Urbana denisb@leland.stanford.edu (Denis Bohm) writes: >I would like to port a C++ application to the Mac with the least amount >of work to get it up and running. The application uses interviews which >uses X11R4, and our own broadcast message server which uses INET domain >sockets. So I am looking for X11R4 for the mac with include files that >can be used from C++ so that I can build InterViews. And some >communication software with unix like socket includes. Does anyone know >of any products like these (or anything similar)? X11: There's a server (MacX), but no client support. TCP: MacTCP is available from APDA, a few socket libraries are around.* InterViews: No port, but I've heard that it was modeled after MacApp 1 or 2, so you could move to that. C++: MPW Shell, C, and C++, again from APDA. *including one from us, at ftp.ncsa.uiuc.edu in ~/unsupported. - -- Mark Lanett mlanett@uiuc.edu Software Tools Group, NCSA, University of Illinois at Urbana-Champaign +++++++++++++++++++++++++++ From: milt@tenon.com (Milt Roselinsky) Date: 11 Mar 92 21:37:35 GMT Organization: "Tenon Intersystems" denisb@leland.stanford.edu (Denis Bohm) writes: : I would like to port a C++ application to the Mac with the least amount : of work to get it up and running. The application uses interviews which : uses X11R4, and our own broadcast message server which uses INET domain : sockets. So I am looking for X11R4 for the mac with include files that : can be used from C++ so that I can build InterViews. And some : communication software with unix like socket includes. Does anyone know : of any products like these (or anything similar)? MachTen (a full BSD4.3 UNIX that runs as a Mac application) provides the gnu C compiler and X11R4 libraries, standard X clients, NFS, RPC and socket libraries.... For more info, send questions to info@tenon.com Milt Roselinsky milt@tenon.com Tenon Intersystems (805) 963-6983 1123 Chapala St. Santa Barbara, Ca. 93101 --------------------------- End of C.S.M.P. Digest **********************